#define _CRT_SECRUE_NO_WARNINGS
#include"Stack.h"

int main()
{
	Stack rng;
	StackInit(&rng);
	StackPush(&rng, 1);
	StackPush(&rng, 2);
	StackPush(&rng, 3);
	StackPush(&rng, 4);
	StackPush(&rng, 5);
	StackPush(&rng, 6);
	StackPrint(&rng);
	StackPop(&rng);
	StackPush(&rng, 6);
	StackPush(&rng, 7);
	StackPush(&rng, 8);
	StackPush(&rng, 9);
	StackPush(&rng, 10);
	StackPush(&rng, 11);
	StackPush(&rng, 12);
	StackPrint(&rng);
	cout << StackSize(&rng) << endl;
	cout << StackTop(&rng) << endl;
	StackDestroy(&rng);
	
	return 0;
}